package dryven.unittest;

import java.io.File;
import java.io.IOException;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

import dryven.discovery.jar.ZipDirectoryIterable;

public class JarListTest {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		File f = new File("/Users/bruno/Projecten/Java/Dryven/lib/asm-3.2.jar");
		String rootDir = "org/objectweb/asm/signature/";
		for (ZipEntry e : new ZipDirectoryIterable(f, new String[]{rootDir}, false)) {
			System.out.println("*** "+e.getName());
		}
	}

}
